//
//  TKSlider.m
//  Router
//
//  Created by teki on 15/10/16.
//  Copyright © 2015年 dc. All rights reserved.
//

#import "TKSlider.h"


#define SliderBarHeight (10)
@implementation TKSlider

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
//        self.userInteractionEnabled = NO;
    }
    return self;
}


- (instancetype)initWithCoder:(NSCoder *)coder
{
    self = [super initWithCoder:coder];
    if (self) {
//        self.userInteractionEnabled = NO;
    }
    return self;
}

- (CGRect)trackRectForBounds:(CGRect)bounds
{
    return CGRectMake(0, (bounds.size.height- SliderBarHeight)/2, bounds.size.width, SliderBarHeight);
}




@end
